package com.kangyi.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Blank
 * @since 2025-02-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "养老院数据返回格式")
public class NursingHomeVO implements Serializable {


    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("养老院名称")
    private String name;
    @ApiModelProperty("地区id")
    private Integer regionId;
    @ApiModelProperty("养老院成立时间")
    private LocalDate establishmentTime;
    @ApiModelProperty("机构类型id")
    private Integer organizationId;
    @ApiModelProperty("详细地址")
    private String addressDescription;
    @ApiModelProperty("电话号")
    private String phone;
    @ApiModelProperty("简介")
    private String description;
    @ApiModelProperty("评分")
    private BigDecimal rating;
    @ApiModelProperty("状态")
    private Integer status;
}
